package com.cxs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cxs.entity.Student;
import com.cxs.service.StudentService;
import com.cxs.mapper.StudentMapper;
import com.cxs.entity.vo.StudentVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: StudentServiceImpl
 * @description:
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student>
    implements StudentService{

    @Autowired
    private StudentMapper studentMapper;
    @Override
    public List<StudentVo> getListByKeyword(String keyword) {
        return studentMapper.getListByKeyword(keyword);
    }
}




